 /* why not*/
html { direction:rtl !important; lang:he !important; text-align: right !important;}
* { margin: 0; padding: 0; }
p { padding: 5px; font-size: 14px; }

/* log out icon*/
#zc-signOutEl {
	width: 108px;
	height: 24px;
	color: transparent;
	font-size: 0;
	cursor:pointer;
	border: none;
	padding: 0;
	margin-right: 10px;
	margin-left: 10px;
	display: block;
	background: url(http://s4.postimg.org/9i4pmvszt/logout_Button_png_s.png) center;)
}
/* menu new */
#zc-header-subtab { background-color: white !important; }
.zc-subtab, .zc-subtab-hover, .zc-subtab-selected, .zc-subtab-selected-hover, .zc-subtabtable { background-color: white !important; }

*.zc-subtabtable td a img, 
*.zc-tab-right-selected, *.zc-tab-left-selected , 
*.zc-tab-right-selected-hover, *.zc-tab-left-selected-hover, 
*.zc-tab-right-selected-blur, *.zc-tab-left-selected-blur, 
*.zc-tab-left, *.zc-tab-left-hover,
*.zc-tab-right, *.zc-tab-right-hover,
*.zc-tab-spacing, *.zc-tab-end-td 
        { display: none !important; }

*.zc-tab-selected, *.zc-tab-selected-hover, *.zc-tab-selected-blur, *.zc-tab, *.zc-tab-hover {
        color: #3574b3 !important;
        background-color: white !important;
        background-image: none !important;
        border-bottom: none !important;
}

*.zc-tab-begin-td { visibility: hidden; }

/* -------------------------- */

   
#zc-pane {width: 100%; direction: rtl;}
[elname="zc-component"] >  table { width: 100%; }
.zc-formheader { text-align: right; }
.formheader > div {float: right !important;}
.zc-labelheader  { text-align: right !important; }
.zc-inputheader { text-align: right !important; }
.zc-grid-subform-viewrowheader { text-align: right !important; float: right; padding-right:5px;}
.flleft { float: right; }
.flLeft { float: right; }
.search-selected-val { text-align: center; }
.zc-gridsubform-input { width: 80px; }
.zc-description {display: none;}
/*.zc-dialog-heading:before {content: "\2022 …  הוספת רשומה … \2022";}*/
/*.zc-dialog-heading h1 {display: none;}*/
#zc-container {width:80% !important;}
.zc-subformheader { background-color: transparent; font-size: 12px; border-top: none;}
table.zc-formtable.zc-appformtable.zc-dialog-border-top { border-top: none !important; }
.zc-labelheader > label {white-space: nowrap !important; }
.zc-formcontent { border: none; }
.zc-viewheaderlft { float: right; }

/* footer */
/*#zc-pagefooter { display: none; }*/

/* header */
#zc-header-right 
{
direction: ltr;
left: 0px;
}

/* menu level - make it white */
.zc-menuitem > img, .zc-menuitem-hover > img, .zc-menutable > img, .zc-menutable-hover > img { display: none !important;}

.zc-menuitem, .zc-menuitem-hover, .zc-menutable, .zc-menutable-hover { text-align: right; }
.zc-menutabdiv { background-color: white; }
.zc-tabmenu-selected, .zc-tabmenu, .zc-tabmenu-selected-hover, .zc-tabmenu-hover, .zc-tabmenu-selected-blur, .zc-menuitem-selected, .zc-menuitem-selected-hover { text-align: right; background-color: white !important; color: #4F99DD !important; border-right: none !important;}
.zc-tabmenu-last { display: none; }
.zc-menutable td img { display: none;}
[elname="zc-viewsearchrow1_attachmentsListView"] { display: none !important; }
.zc-edit { display: none !important; }
/*.zc-col-showhide { display: none !important; }*/
.zc-viewrowheader:first-child, .zc-viewrowheader.zc-check-boxlft, *.zc-delete, [title="Click to delete selected records"]
{
		display: none !important;
}
.zc-viewrecactionsheader, .zc-viewfooteritems {height: 40px !important; border-left:none !important; border-right:none !important; border-bottom:none !important; background-color: white !important;}

[elname="zc-viewrecordactionsleft"] {width: 80%;}
[elname="zc-filteradvItem"], .zc-filteradvitemcont-span {float: right !important;}   

                .zc-viewheader-menus-group.zc-search-top, [value="Search"] {
                        width: 61px;
                        height: 24px;
                        color: transparent;
                        font-size: 0;
                        cursor:pointer;
                        border: none;
                        padding: 0;
                        margin-right: 10px;
                        margin-left: 10px;
                        background: url(http://s4.postimg.org/445xfc39l/list_Search_png_s.png) center;)
                }
                [value="Cancel"] {
                        width: 61px;
                        height: 24px;
                        color: transparent;
                        font-size: 0;
                        cursor:pointer;
                        border: none;
                        padding: 0;
                        margin-right: 10px;
                        margin-left: 10px;
                        background: url(http://s4.postimg.org/fy92z8c5l/cancel_png_s.png) center;)
                }
			   [value="Update"] {
                        width: 61px;
                        height: 24px;
                        color: transparent;
                        font-size: 0;
                        cursor:pointer;
                        border: none;
                        padding: 0;
                        margin-right: 10px;
                        margin-left: 10px;
                        background: url(http://s4.postimg.org/66k6yt5e1/save_png_s.png) center;)
                }
				[title="Click to add record"], [title="Click to add record"]:hover {
                        width: 61px;
                        height: 24px;
                        color: transparent;
                        font-size: 0;
                        cursor:pointer;
                        border: none;
                        padding: 0;
                        margin-right: 10px;
                        margin-left: 10px;
                        background: url(http://s4.postimg.org/ouoggws5l/list_Add_png_s.png) center;)
                }
                [title="Click for more actions"] { display: none !important; }
				
/* look and feel and dialog */        
#zc-component, .zc-dialog-containner{
    -webkit-border-horizontal-spacing: 0px;
    -webkit-border-image: none;
    -webkit-border-vertical-spacing: 0px;
    //background-color: white;
    border-bottom-color: #C1D5FD;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-collapse: separate;
    border-left-color: #C1D5FD;
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: #C1D5FD;
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: #C1D5FD;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-top-style: solid;
    border-top-width: 1px;
    //color: black;
    //display: block;
    //font-family: Arial;
    //font-size: 16px;
    //font-style: normal;
    //font-variant: normal;
    //font-weight: normal;
    //height: 173px;
    //line-height: normal;
    margin-bottom: 5px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    text-align: -webkit-center;
    //white-space: normal;
    //width: 237.96665954589844px;
}
                                                                                                 
.zc-formheader.zc-formheader-height, .zc-dialogheader, .zc-dialog-heading{
    -webkit-border-horizontal-spacing: 0px;
    -webkit-border-vertical-spacing: 0px;
    background-color: #D7E6FD;
    //border-bottom-color: black;
    //border-collapse: separate;
    //border-left-color: black;
    //border-right-color: black;
    //border-top-color: black;
    //border-top-left-radius: 5px;
    //border-top-right-radius: 5px;
        border:none;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    //padding-bottom: 0px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 6px;
}

.zc-formtitle {
    font-size: 13px;
    color: #333;
    font-weight: bold;
    padding-bottom: 5px;
}

[elname="zc-component"] table {width:100%}
.zc-formcontent {border:none;}

/* dialog*/
.zc-dialog-appearence {border: none !important;}
.zc-dialog-heading > h1 {visibility: hidden;}
.zc-dialog-close-old > span {visibility: hidden;}
.zc-dialog-close-old:after {content: "x סגור";}
[elname="zc-dialogContainer"] {text-align: right;direction: rtl;}
#_DIALOG_LAYER_1 {left: 0 !important; top: 20px !important; right: 20px !important;}
#_DIALOG_LAYER_2 {left: 0 !important; top: 35px !important; right: 35px !important;}
.zc-dialog-heading {width:auto;}
#treatmentSellItemsSubForm_addNewLine > a:after {content: "הוסף";}
*.zc-loading  {left: 20% !important; top: 200px !important; right: 20% !important; position: absolute !important; }

/* look and feel   */                                     
.zc-grid-subform td {padding:2px;}
/*tr {float: right;}*/
.zc-grid-subform {float: right;}
.zc-gridsubform-input { width: 100px !important; padding: 0px 0px 2px 0px !important; margin-left:2px !important;}
.zc-grid-subform-viewrowheader {float: right !important; padding: 0px 0px 2px 0px !important;margin-left:2px !important; width: 100px !important; white-space: normal;}
.zc-grid-subform-viewrowheader:first-child {width: 20px; display: none !important;}
.zc-subformheader { display: none; }
.zc-subformcontent {border:none;}

[elname='zc-fieldsTable'] {border-collapse: collapse;} 
[elname='zc-fieldsTable'] td {padding: 2px;} 
*.zc-checkboxlabel { color: orange !important; font-weight: bold !important; }
[labelname="itemListProductID"], #srchDiv_itemListProductID > [elname="srchInputDiv"], #srchDiv_itemListProductID > [elname="srchValDiv"] {width: 260px !important;}
[labelname="itemListProductID"] > li, .zc-searchlookup-inputdiv-inner-subform > input {width: 90% !important;}
.zc-dialog-box-shadow {width: 95%; float: right;}
.zc-noappearance {width: 95%;}

/* ----------------- */
[elname="zc-showEditFormEl"]:after {content: " - עריכה";}
[elname="zc-printViewEl"]:after {content: " - הדפס";}
[elname="zc-showRecordEl"]:after {content: " - הצג";}
[elname="zc-deleteRecordEl"]:after {content: " - מחק";}

[delugename="ID"] { display: none; }
*.zc-description { display: none; }
*.zc-appformcontent { margin-right: 10px; }
table.zc-formtable.zc-appformtable.zc-dialog-border-top { border-top: none !important; }

/*[elname="zc-viewrowEl"] td:last-child {display:none;} */
/*zc-viewsearchselect {display:none;} */
/* buttons !!!!! */
.zc-formbutton, .zc-formbutton-hover, [elname="error_dialog_ok_button"]{
	width: 59px;
	height: 24px;
	//margin-top: 5px;
	font-size: 0;
	display: inline-block;
	width: 59px;
	height: 24px;
	cursor:pointer;
	float: right; 
}

[name="Submit"] {border: none; background: url(http://s4.postimg.org/66k6yt5e1/save_png_s.png) center;}
[name="submit"] {border: none; background: url(http://s4.postimg.org/66k6yt5e1/save_png_s.png) center;}
[name="Reset"] {border: none; background: url(http://s4.postimg.org/b3xrjx7d5/reset_png_s.png) center;}
[name="reset"] {border: none; background: url(http://s4.postimg.org/b3xrjx7d5/reset_png_s.png) center;}
[name="update"] {border: none; background: url(http://s4.postimg.org/66k6yt5e1/save_png_s.png) center;}
[name="Update"] {border: none; background: url(http://s4.postimg.org/66k6yt5e1/save_png_s.png) center;}
[name="cancel"] {border: none; background: url(http://s4.postimg.org/fy92z8c5l/cancel_png_s.png) center;}
[name="Cancel"] {border: none; background: url(http://s4.postimg.org/fy92z8c5l/cancel_png_s.png) center;}
[name="deleteButton"] {border: none; background: url(http://s4.postimg.org/66k6yt5e1/save_png_s.png) center;}
[name="dontDeleteButton"] {border: none; background: url(http://s4.postimg.org/fy92z8c5l/cancel_png_s.png) center;}
[name="treatmentSubmit"] {border: none; background: url(http://s4.postimg.org/66k6yt5e1/save_png_s.png) center;}
[name="quotationReset"] {border: none; background: url(http://s4.postimg.org/fy92z8c5l/cancel_png_s.png) center;}
[name="newMessageSendButton"] {border: none; background: url(http://s4.postimg.org/66k6yt5e1/save_png_s.png) center;}
[name="updateButton"] {border: none; background: url(http://s4.postimg.org/66k6yt5e1/save_png_s.png) center;}
error
[type="checkbox"], 
	[type='radio'] {float: right !important;}
	
#newEventForm-eventType-1 > td > span {background-color: orange;}
                .zc-button-row {
                                        background-color: transparent !important;
                                        border-top: none !important;
                }        
                                                                                                                  
[elname="zc-custaction-el"] {
	font-size: 12px !important;
	color: black !important;
	background-color: white !important;
	font-weight: bold !important;
	border-color: lightblue        !important;
	border-radius: 5 !important;                                                                          
}                                                         
/* subforms */
.add_value_link > a > strong {display: none;}
#eventProductsSubForm_addNewLine > a:after {content: "הוסף פריט";}
#sellSummerySubForm-1:first-child, #sellSummerySubForm_addNewLine {display: none;}
#sellSummerySubForm-1 td a { visibility: hidden;}
#sellSummerySubForm-1 td:nth-child(2) input { width: 280px !important; }
	
[delugename="itemListProductID"]  { width: 290px !important; padding-right: 20px !important;}
[delugename="itemListQuantity"]  { width: 104px !important; }
[delugename="itemListDiscountPercent"]  { width: 104px !important; }
[delugename="sellItemTotal"] { width: 100px !important; }
[delugename="sellsSummerySubTotal"] { width: 285px !important; padding-right: 20px !important;}
[delugename="sellsSummeryItems"] { width: 104px !important; }
[delugename="sellsSummeryTotalDiscount"] { width: 104px !important; }
[delugename="attachmentFile"] { width: 330px !important; margin-right: 20px;}
/*[delugename="itemListDiscountPercent"] {width: 160px !important;}*/
[labelname="itemListProductID"], 
	#srchDiv_itemListProductID > [elname="srchInputDiv"], 
	#srchDiv_itemListProductID > [elname="srchValDiv"] {width: 260px !important;}
[labelname="itemListProductID"] > li, .zc-searchlookup-inputdiv-inner-subform > input {width: 90% !important;}

/* file subform*/
#treatmentAttachmentsSubForm_addNewLine > a:after {content: "הוסף קובץ";}  
                                                                                                                
/* receipt subform */
#sellSummerySubForm_addNewLine {display:none;}
#sellSummerySubForm-1 td a {visibility: hidden;}
#receiptPaymentDetailsCashSubForm_addNewLine {visibility: hidden;}
#receiptPaymentDetailsCashSubForm-1 td a {visibility: hidden;}
.zc-subformcontent {border:none;}
#receiptPaymentDetailsChequeSubForm_addNewLine > a:after {content: "הוסף המחאה";}
#receiptPaymentDetailsCCSubForm_addNewLine > a:after {content: "הוסף כרטיס";}
[labelname="סוג תשלום"] { width: 130px !important; }
[labelname="סכום"] { width: 130px !important; }
[labelname="מספר סניף"] { width: 130px !important; }
[labelname="קוד הבנק"] { width: 90px !important; }

/* views */
[name="uploadFile"] { width: 300px; }

[name="sellSummerySubForm"] > table > tbody > tr > td:nth-child(2) input { width: 280px !important; }

/* price list */
[elname="zc-viewsearchrow1_pricelistView"] {display:none !important;}

/* attachments */
[elname="zc-custaction-el"] {
	font-size: 12px !important;
	color: black !important;
	background-color: white !important;
	font-weight: bold !important;
	border-color: lightblue        !important;
	border-radius: 5 !important;                                                                          
} 

/* customer */
/* error messages */
/*[elname="zc_dialog_content"]:after {content: <%=errorMsg%>;}*/
*.zc-formimport-submit { height: 45px !important; }

/* customer list */
[elname="zc-viewsearchrow1_customerListLimitedView"] {display:none !important;}

/* employees */
[elname="zc-viewsearchrow1_employeeList"] {display:none;}

/* comments list*/
[elname="zc-viewsearchrow1_commentsList"] {display:none;}


/* select calendar view form */
[formlinkname="selectCalendarViewForm"] {float: right;}

/* menu level - make it white */
.zc-menuitem > img, .zc-menuitem-hover > img { display: none !important;}
.zc-menuitem, .zc-menuitem-hover { text-align: right; }
.zc-menutabdiv { background-color: white; }
.zc-tabmenu-selected, .zc-tabmenu, .zc-tabmenu-selected-hover, .zc-tabmenu-hover, .zc-tabmenu-selected-blur { background-color: white !important; color: #4F99DD !important; border-right: none !important;}
.zc-tabmenu-last { display: none; }

.listIcon {
    background: url("http://s4.postimg.org/efia7zuyx/list_Icon_png_s.png") center;
    //display:inline-block;
    height:20px;
    width:20px;
    float: left;
}

[title="-Select-"] {text-align: center !important;}

.addIcon {
    background: url("http://s4.postimg.org/3nfm88wp5/add_Icon_png_s.png") center;
    //display:inline-block;
    height:20px;
    width:20px;
    float: left;
}

/* Icon buttons */
.printIcon {
    background: url("http://s4.postimg.org/x0kakakjt/print_Icon_png_s.png") center;
    //display:inline-block;
    height:20px;
    width:20px;
        float: left;
}
.fileIcon {
    background: url("http://s4.postimg.org/i09kdha4p/file_Icon_png_s.png") center;
       // display:inline-block;
    height:20px;
    width:20px;
        float: left;
}

.fc-icondiv {
        display:inline !important;
}
.fc-edit-icon {
background: url(https://css.zohostatic.com/creator/live/images/cal_event_edit.png) center no-repeat;
}
.fc-delete-icon {
background: url(https://css.zohostatic.com/creator/live/images/cal_event_del.png) center no-repeat;
}

/* date selector*/
[formlinkname="agendaDateSelectorForm"] > table { width: 98%;}
.zc-formcontent { border: none; }
[elname="zc-form2Table"] { width: 100%;}
.zc-labelheader {width: auto !important;}
[name="dateLinks"] {float: left;}
[type="radio"] {float: right !important;}
#agendaDateSelectorForm-dateLinks-1, #agendaDateSelectorForm-selectDate-1 {float:right;}


/* ------------ */